
<?php

# http://projects:8081/cdapp-2kt-api/api/__t.php

// $path = realpath($_SERVER['SCRIPT_FILENAME']);
// echo $path;

// $begTime = rawurlencode(date('Y-m-d') . ' 00:00:00');
// $endTime = rawurlencode(date('Y-m-d') . ' 23:59:59');
// $adep = implode(',', ['ZUUU', 'ZUTF', 'ZUMY', 'ZUYB', 'ZULZ']);
// $payload = "begTime={$begTime}&endTime={$endTime}&adep={$adep}";
// echo $payload;

die('1');

$ts=strtotime('yesterday');
$ts2=strtotime('tomorrow');

echo date('Y-m-d H:i:s',$ts);
echo PHP_EOL;
echo date('Y-m-d H:i:s',$ts2);